Federico Mena Quintero [Fri, 25 Feb 2000 21:41:51 +0000 (21:41 +0000)]
Use the correct name for gdk-pixbuf/gdk-pixbuf.h. Thanks to Jacob Berkman
2000-02-25 Federico Mena Quintero <federico@helixcode.com>
* gdk-pixbuf.m4: Use the correct name for
gdk-pixbuf/gdk-pixbuf.h. Thanks to Jacob Berkman for pointing
this out.
Owen Taylor [Fri, 25 Feb 2000 16:17:10 +0000 (16:17 +0000)]
Added some UI items, and an explanatory comment at the top of the file.
Fri Feb 25 11:12:00 2000 Owen Taylor <otaylor@redhat.com>
* TODO.xml: Added some UI items, and an explanatory
comment at the top of the file.
Tim Janik [Thu, 24 Feb 2000 08:12:12 +0000 (08:12 +0000)]
some updates, added abunch of new entries. a note for those fiddeling with
Thu Feb 24 09:07:28 2000 Tim Janik <timj@gtk.org>
* TODO.xml: some updates, added abunch of new entries.
a note for those fiddeling with this file, when done
with it, invoke:
$ ./docs/make-todo TODO.xml >/dev/null
and correct output errors before comitting changes.
Owen Taylor [Thu, 24 Feb 2000 05:11:56 +0000 (05:11 +0000)]
twiddled some more
Owen Taylor [Thu, 24 Feb 2000 04:47:57 +0000 (04:47 +0000)]
twiddled
Owen Taylor [Thu, 24 Feb 2000 04:35:05 +0000 (04:35 +0000)]
small changes
Owen Taylor [Thu, 24 Feb 2000 04:20:41 +0000 (04:20 +0000)]
spelling fixes
Owen Taylor [Thu, 24 Feb 2000 04:03:49 +0000 (04:03 +0000)]
Added XML-structured TODO file. python script to turn TODO.xml into pretty
Wed Feb 23 22:59:50 2000 Owen Taylor <otaylor@redhat.com>
* TODO.xml: Added XML-structured TODO file.
* docs/make-todo: python script to turn TODO.xml into
pretty XML output.
Jonathan Blandford [Wed, 23 Feb 2000 22:55:27 +0000 (22:55 +0000)]
add a 'paned' mode to the function to let it draw the seven dots, instead
2000-02-23 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkstyle.c (gtk_default_draw_handle): add a 'paned' mode to
the function to let it draw the seven dots, instead of the old,
much maligned, method.
(draw_dot): New function to draw a dot.
* gtk/gtkhpaned.c (gtk_hpaned_size_allocate): changed allocation
to draw the handle inside the border width as opposed to outside.
Use paint function instead of gdk_draw_point.
* gtk/gtkvpaned.c (gtk_vpaned_size_allocate): changed allocation
to draw the handle inside the border width as opposed to outside.
Use paint function instead of gdk_draw_point.
* gtk/gtkfilesel.c (gtk_file_selection_update_history_menu):
Change indenting to be more GTK like.
GMT 2000 Tony Gale [Wed, 23 Feb 2000 10:59:21 +0000 (10:59 +0000)]
New section on GtkCalendar Update example code
Wed Feb 23 10:54:14 GMT 2000 Tony Gale <gale@gtk.org>
* docs/gtk_tut.sgml: New section on GtkCalendar
* examples/calendar: Update example code
GMT 2000 Tony Gale [Tue, 22 Feb 2000 13:59:09 +0000 (13:59 +0000)]
Get the date on the FAQ right. Grr.
Tue Feb 22 14:02:48 GMT 2000 Tony Gale <gale@gtk.org>
* Get the date on the FAQ right. Grr.
GMT 2000 Tony Gale [Tue, 22 Feb 2000 13:49:53 +0000 (13:49 +0000)]
FAQ Update
Tue Feb 22 13:54:12 GMT 2000 Tony Gale <gale@gtk.org>
* docs/gtkfaq.sgml: FAQ Update
Federico Mena Quintero [Tue, 22 Feb 2000 00:29:00 +0000 (00:29 +0000)]
0.6.0 - Federico
Jonathan Blandford [Sun, 20 Feb 2000 03:08:00 +0000 (03:08 +0000)]
fix case where initial colormap entry is Transparent.
2000-02-19 Jonathan Blandford <jrb@redhat.com>
* gdk-pixbuf/io-gif.c (new_context): fix case where initial
colormap entry is Transparent.
Anders Carlsson [Sat, 19 Feb 2000 22:19:55 +0000 (22:19 +0000)]
Return TRUE to prevent the scroll event to be propagated upwards.
2000-02-19 Anders Carlsson <andersca@gnu.org>
* gtk/gtkrange.c (gtk_range_scroll_event): Return TRUE
to prevent the scroll event to be propagated upwards.
Owen Taylor [Sat, 19 Feb 2000 22:05:48 +0000 (22:05 +0000)]
Fix error in scale factors for non-alpha case.
2000-02-19 Owen Taylor <otaylor@redhat.com>
* gdk-pixbuf/pixops/pixops.c (scale_pixel): Fix error in
scale factors for non-alpha case.
Anders Carlsson [Fri, 18 Feb 2000 21:44:29 +0000 (21:44 +0000)]
Fix my e-mail address
Owen Taylor [Fri, 18 Feb 2000 20:02:24 +0000 (20:02 +0000)]
Remove OwnerGrabButtonMask from button entries for GDK_BUTTON_PRESS /
Fri Feb 18 14:37:29 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-x11.c (gdk_event_mask_table): Remove
OwnerGrabButtonMask from button entries for
GDK_BUTTON_PRESS / GDK_BUTTON_RELEASE.
* gtk/gtklayout.c (gtk_layout_realize): Always add GDK_SCROLL
to the event mask (which will result in button/press release
being added to the event mask on Unix) so scrolling works
for layouts in scroll windows.
* gdk/gdkevents.h (enum): Fix up GDK_ALL_EVENTS_MASK.
Patch from Anders Carlsson <andersca@picard.andersnet> to add
a scroll event.
* gtk/testgtk.c (scroll_test_scroll): Added an example of mouse wheel
scrolling to the "Test Scrolling" part of testgtk.
* gtk/gtkwidget.h (struct _GtkWidgetClass): Added scroll_event signal.
* gtk/gtkwidget.c: Added "scroll_event" GTK+ signal and matched
it against GDK_SCROLL.
* gtk/gtkrange.c (gtk_range_scroll_event): Updated to use the new
way of mouse wheel scrolling.
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_event): Likewise.
* gtk/gtkspinbutton.c (gtk_spin_button_scroll): Likewise.
* gtk/gtkmain.c: Removed previous mouse wheel hack.
* gdk/x11/gdkwindow-x11.c (gdk_event_mask_table): Added entry in
gdk_event_mask_table.
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Added
GdkEventScroll handler.
* gdk/gdkevents.h: Added GdkEventScroll structure.
Owen Taylor [Thu, 17 Feb 2000 22:12:25 +0000 (22:12 +0000)]
Add patch from Jonathan Blandford and Anders Carlsson to change the Paned
Thu Feb 17 17:10:12 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gt{h,k,}vpaned.[ch]: Add patch from Jonathan Blandford
and Anders Carlsson to change the Paned widgets so that they
can be dragged from anywhere along the length. Also change
the way that this is drawn to make this apparent.
* gtk/gtkoptionmenu.c (gtk_option_menu_get_history): Apply patch
from George Lebl to check that option_menu->menu is present
before getting history.
Mark Crichton [Mon, 14 Feb 2000 23:26:01 +0000 (23:26 +0000)]
Iain sent me a xpm that didn't load. It used "g" instead of "c" in it's
Iain sent me a xpm that didn't load. It used "g" instead of "c" in it's
color table.
I thought that was borked until I saw Imlib, xv, and Gimp load it up w/o
problem...
So, fixed that (less than one line fix). HOWEVER, if this is correct,
then the gdk XPM loader in gtk+ also has the same problem.
Owen, got an opinion on this?
Mark
Darin Adler [Mon, 14 Feb 2000 20:51:51 +0000 (20:51 +0000)]
Remove now-unnecessary cast.
Elliot Lee [Mon, 14 Feb 2000 20:06:23 +0000 (20:06 +0000)]
Make passed-in argument 'const'.
* gdk-pixbuf/gdk-pixbuf.h, gdk-pixbuf/gdk-pixbuf-data.c: Make passed-in argument 'const'.
Tor Lillqvist [Sun, 13 Feb 2000 23:19:23 +0000 (23:19 +0000)]
Move the test for no segments before the assertion for non-NULL segment
2000-02-14 Tor Lillqvist <tml@iki.fi>
* gdk/gdkdraw.c (gdk_draw_segments): Move the test for no segments
before the assertion for non-NULL segment list.
* gdk/win32/gdkgc-win32.c: (gdk_win32_gc_values_to_win32values):
Seems that pattern brushes *must* be 8x8 pixels! At least on my
machine, but it might be display driver dependent. Sigh, so make
sure the stipple is that size. Does Windows suck or what?
* gdk/win32/gdkdrawable-win32.c: Improve error handling in a few
places.
Havoc Pennington [Sun, 13 Feb 2000 20:22:20 +0000 (20:22 +0000)]
init refcount to 1 (gdk_cursor_new): init refcount to 1
2000-02-13 Havoc Pennington <hp@pobox.com>
* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): init
refcount to 1
(gdk_cursor_new): init refcount to 1
* gdk/win32/gdkcursor-win32.c
(gdk_cursor_new): init refcount to 1
Tor Lillqvist [Sun, 13 Feb 2000 14:52:47 +0000 (14:52 +0000)]
Add an extra parameter so that we don't have to do unnecessary settings to
2000-02-13 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkgc-win32.c (gdk_gc_predraw): Add an extra parameter
so that we don't have to do unnecessary settings to the HDC.
* gdk/win32/gdkdrawable-win32.c
* gdk/win32/gdkimage-win32.c: Corresponding changes to the calls of
gdk_gc_predraw.
* gdk/win32/gdkdrawable-win32.c: Special-casing for GdkGCs where
the fill style is GDK_OPAQUE_STIPPLED. In those cases we construct
GDI paths, call WidenPath to get the outline of the stroken path,
and then fill the outline (with the brush that was built from the
stipple).
* gdk/win32/gdkgc-win32.c: Factor out common code from
_gdk_win32_gc_new and gdk_win32_gc_set_values into
gdk_win32_gc_values_to_win32values.
* gdk/win32/gdkmain-win32.c (gdk_win32_last_error_string,
gdk_win32_api_failed): New functions for error logging.
* gdk/win32/gdkprivate-win32.h: Declare them, and a macro
WIN32_API_FAILED to call them, passing function or file name and
line number.
* gdk/win32/*.c: Use the WIN32_API_FAILED macro.
* gdk/win32/gdkprivate-win32.h: Store just the pixel values from
GdkColor for foreground and background in GdkGCWin32Data.
* gdk/makefile.cygwin: Link in the resource object separately.
* gdk/win32/rc/gdk.rc
* gtk/gtk.rc (New file)
* gdk/win32/makefile.cygwin
* gtk/makefile.cygwin: Update build number in DLLs automatically,
as in GLib.
Tim Janik [Sun, 13 Feb 2000 08:16:48 +0000 (08:16 +0000)]
s/refcount/ref_count/.
Sun Feb 13 08:54:45 2000 Tim Janik <timj@gtk.org>
* gdk/gdkcursor.h (struct _GdkCursor): s/refcount/ref_count/.
* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap):
* gdk/x11/gdkcursor-x11.c (_gdk_cursor_destroy):
* gdk/gdkcursor.c (gdk_cursor_ref): insert assertments for the
parameters given and cursor->ref_count. coding style fixups.
* gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer,
not GtkWidget.
* gtk/*.h: applied patch from Mathieu Lacage <lacage@email.enst.fr> to
fix up widget macros and add _GET_CLASS() variant.
* gtk/*.c: some GtkType fixups.
Tor Lillqvist [Wed, 9 Feb 2000 22:31:34 +0000 (22:31 +0000)]
gdk/win32/gdkproperty-win32.c The assertions for GDK_IS_WINDOW were
2000-02-09 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkproperty-win32.c
* gdk/x11/gdkproperty-x11.c: The assertions for GDK_IS_WINDOW
were reversed.
Owen Taylor [Mon, 7 Feb 2000 02:36:39 +0000 (02:36 +0000)]
Initial import of gdk-pixbuf-based engine
Owen Taylor [Mon, 7 Feb 2000 02:36:39 +0000 (02:36 +0000)]
Initial revision
Michael Meeks [Thu, 3 Feb 2000 23:36:14 +0000 (23:36 +0000)]
By order of jrb: const patch for various bits, io-gif.c fixup for
By order of jrb:
const patch for various bits,
io-gif.c fixup for animations.
Pablo Saratxaga [Thu, 3 Feb 2000 18:05:00 +0000 (18:05 +0000)]
updated lt.po
Kjartan Maraas [Thu, 3 Feb 2000 11:03:16 +0000 (11:03 +0000)]
Updated Norwegian translation.
2000-02-04 Kjartan Maraas <kmaraas@online.no>
* no.po: Updated Norwegian translation.
Tor Lillqvist [Thu, 3 Feb 2000 01:42:51 +0000 (01:42 +0000)]
Argh, decided not to return a string that must be freed from
gtk_file_selection_get_filename after all, as that would
cause memory leaks in all apps that use it unless they
specifically checked fot the GTk+ version.
gtk_file_selection_get_filename returns the filename in the C
runtime encoding. It calls g_filename_from_utf8, but copies the
returned string to a static buffer, which is returned. I think
this is better than returning the result from g_filename_from_utf8
directly, which would mean all apps that use it would have to free
the return value. Or should this function care about this issue at
all? Maybe a new function with clearly defined semantics.
Tor Lillqvist [Thu, 3 Feb 2000 01:19:03 +0000 (01:19 +0000)]
Use g_filename_to_utf8 to convert the font names Windows gives us from
2000-02-04 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkfont-win32.c (logfont_to_xlfd): Use
g_filename_to_utf8 to convert the font names Windows gives us from
whatever is the default codepage to UTF-8.
(gdk_font_load_internal) Use g_filename_from_utf8 for conversion
in the other direction.
* gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_values): Fix cut&paste
error in debugging output.
2000-02-02 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkwindow-win32.c (gdk_window_clear): Pass zero width
and height parameters to gdk_window_clear_area(). Not minus one.
2000-02-01 Tor Lillqvist <tml@iki.fi>
* gtk/gtkfilesel.c: Use the g_filename_to_utf8 and
g_filename_from_utf8 functions (which were added a moment ago to
GLib). Some cleanups: Use gbooleans. Use GStrings instead of fixed
size buffers.
* gtk/gtkfilesel.h: Add comment about
gtk_file_selection_get_filename returning the filename in the C
runtime's encoding.
* README.win32
* gdk/gdk.def
* gdk/makefile.{cygwin,msc}
* gtk/gtk.def: Updates.
* gdk/gdkcursor-win32.c: Initialise refcount.
Pablo Saratxaga [Thu, 3 Feb 2000 01:00:44 +0000 (01:00 +0000)]
updated ca.po
Federico Mena Quintero [Wed, 2 Feb 2000 10:05:57 +0000 (10:05 +0000)]
Added sanity check for width and height being >= 0. Also, do nothing if
2000-02-03 Federico Mena Quintero <federico@helixcode.com>
* gdk-pixbuf/gdk-pixbuf-render.c
(gdk_pixbuf_render_threshold_alpha): Added sanity check for width
and height being >= 0. Also, do nothing if either of them is
zero. Thanks to Ettore for pointing this out.
(gdk_pixbuf_render_to_drawable): Likewise.
(gdk_pixbuf_render_to_drawable_alpha): Likewise.
Federico Mena Quintero [Wed, 2 Feb 2000 05:47:57 +0000 (05:47 +0000)]
Removed debugging g_print. Thanks to John Sullivan <sullivan@eazel.com>
2000-02-02 Federico Mena Quintero <federico@helixcode.com>
* gdk-pixbuf/io-gif.c (gif_get_lzw): Removed debugging g_print.
Thanks to John Sullivan <sullivan@eazel.com> for the patch.
* gdk-pixbuf/testpixbuf-drawable.c (configure_cb): Get a new area
of the screen when the window is resized. Thanks to David
N. Welton <davidw@linuxcare.com> for pointing this out.
Misc. cleanups to the rest of the file.
Damon Chaplin [Wed, 2 Feb 2000 03:23:11 +0000 (03:23 +0000)]
rearranged a bit.
2000-02-03 Damon Chaplin <damon@karuna.freeserve.co.uk>
* gdk/gdk-sections.txt: rearranged a bit.
* gdk/tmpl/event_structs.sgml: updated.
* gtk/gtk-sections.txt: added INCLUDE tag for Private Info section.
* gdk/tmpl/color_contexts.sgml: added note saying it is deprecated.
* gdk/tmpl/dnd.sgml: added note saying read the GTK+ DnD docs.
Owen Taylor [Tue, 1 Feb 2000 19:05:18 +0000 (19:05 +0000)]
Add some sanity checks if the widget passed to gtk_drag_get_data() was not
Wed Feb 2 11:58:05 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_selection_received): Add some sanity
checks if the widget passed to gtk_drag_get_data() was not the
dest widget.
Damon Chaplin [Tue, 1 Feb 2000 04:27:56 +0000 (04:27 +0000)]
ran make templates.
2000-02-02 Damon Chaplin <damon@karuna.freeserve.co.uk>
* gdk/tmpl/*.sgml: ran make templates.
* gdk/gdk-docs.sgml: rearranged sections.
* gdk/tmpl/events.sgml: documented.
* gdk/tmpl/general.sgml: documented.
* gdk/tmpl/rgb.sgml: fixed a few '@' -> '#'.
* gdk/gdk-sections.txt: rearranged a few bits, including moving
GdkWChar and related functions from the input method section to the
font section, and GdkCapStyle etc. from Drawing Primitives to GCs.
* gdk/tmpl/images.sgml: documented.
* gdk/tmpl/drawing.sgml: updated.
* gdk/tmpl/regions.sgml: updated.
* gdk/tmpl/input_contexts.sgml: documented.
* gdk/tmpl/input_methods.sgml: documented.
* gdk/tmpl/selections.sgml: changed xref to a link since Jade says
a xref to a RefEntry is not supported.
Federico Mena Quintero [Tue, 1 Feb 2000 00:42:39 +0000 (00:42 +0000)]
gnome_init() does not call gdk_rgb_init(), so don't mention that it does
2000-02-01 Federico Mena Quintero <federico@helixcode.com>
* doc/tmpl/rendering.sgml: gnome_init() does not call
gdk_rgb_init(), so don't mention that it does in the
documentation. Thanks to Alexander Kruuse <kruuse@home.se> for
pointing this out.
Tor Lillqvist [Mon, 31 Jan 2000 20:13:14 +0000 (20:13 +0000)]
Handle zh_CN.GB2312.
2000-02-01 Tor Lillqvist <tml@iki.fi>
* makefile.cygwin: Handle zh_CN.GB2312.
Havoc Pennington [Sun, 30 Jan 2000 23:28:41 +0000 (23:28 +0000)]
no testpixbuf-foo target
2000-01-31 Havoc Pennington <hp@redhat.com>
* gdk-pixbuf/Makefile.am (noinst_PROGRAMS): no testpixbuf-foo target
Owen Taylor [Sun, 30 Jan 2000 19:46:23 +0000 (19:46 +0000)]
Fix from Peter Wainwright to fix 4a => 4a scaling.
Mon Jan 31 12:38:50 2000 Owen Taylor <otaylor@redhat.com>
* gdk-pixbuf/pixops/pixops.c (scale_line): Fix from Peter
Wainwright to fix 4a => 4a scaling.
Yuan-Chung Cheng [Sun, 30 Jan 2000 12:21:05 +0000 (12:21 +0000)]
Added po file from TurboLinux Chinese Develop Team.
Havoc Pennington [Sat, 29 Jan 2000 22:27:09 +0000 (22:27 +0000)]
forgot to cvs add this
Havoc Pennington [Sat, 29 Jan 2000 22:26:41 +0000 (22:26 +0000)]
use gdk_cursor_unref instead of destroy
2000-01-30 Havoc Pennington <hp@pobox.com>
* gtk/testgtk.c (set_cursor): use gdk_cursor_unref instead of
destroy
* gdk/gdkimage.c (gdk_image_ref): image wasn't being returned
* gdk/gdkprivate.h: declare
_gdk_cursor_destroy which is then
implemented in platform-specific code
* gdk/Makefile.am (gdk_c_sources): add gdkcursor.c
* gdk/x11/gdkcursor-x11.c (gdk_cursor_destroy):
rename with an
underscore in front
* gdk/win32/gdkcursor-win32.c (gdk_cursor_destroy):
put an underscore in front
* gdk/gdkcursor.c: new file, implements
gdk_cursor_ref/gdk_cursor_unref
* gdk/gdkcursor.h: Refcount GdkCursor
* gdk/gdkcompat.h
(gdk_cursor_destroy): compat
Mark Crichton [Sat, 29 Jan 2000 01:33:16 +0000 (01:33 +0000)]
I dated telsa to break gdk-pixbuf.
I dated telsa to break gdk-pixbuf.
I didn't think she can do it.
She somehow did, with Alan's help
Fixed it (it was a build bug)
Now, it should be 1000% telsa-proofed.
Mark
Tor Lillqvist [Fri, 28 Jan 2000 12:16:26 +0000 (12:16 +0000)]
gdk/gdkwindow.h Remove prototypes for renamed functions.
2000-01-29 Tor Lillqvist <tml@iki.fi>
* gdk/gdkwindow.h
* gdk/gdkpixmap.h: Remove prototypes for renamed functions.
Pablo Saratxaga [Thu, 27 Jan 2000 16:28:53 +0000 (16:28 +0000)]
update-po
Pablo Saratxaga [Thu, 27 Jan 2000 16:26:44 +0000 (16:26 +0000)]
added Lithuanian file
Owen Taylor [Tue, 25 Jan 2000 16:47:19 +0000 (16:47 +0000)]
Fix
Tue Jan 25 11:43:21 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkinvisible.h (struct _GtkInvisible[Class]): Fix
Owen Taylor [Mon, 24 Jan 2000 01:38:17 +0000 (01:38 +0000)]
Added lib/gtk+/include/* to %files (bug #5178 - Peter Wainright)
Sun Jan 23 20:28:24 2000 Owen Taylor <otaylor@redhat.com>
* gtk+.spec.in: Added lib/gtk+/include/* to %files
(bug #5178 - Peter Wainright)
* gtk/Makefile.am (gtk_public_h_sources): Add gtkcompat.h
so that it will be installed.
(bug #4889 - "david d `zoo' zuhn" <zoo@mnnr.org>)
Arturo Espinosa [Sat, 22 Jan 2000 23:29:21 +0000 (23:29 +0000)]
0.5.0 - Federico
Federico Mena Quintero [Sat, 22 Jan 2000 23:13:02 +0000 (23:13 +0000)]
Bumped version number to 0.5.0.
2000-01-22 Federico Mena Quintero <federico@helixcode.com>
* configure.in: Bumped version number to 0.5.0.
* gdk-pixbuf/pixops/timescale.c (dump_array): Removed unused variable.
(main): Return 0.
* gdk-pixbuf/pixops/pixops.c (pixops_composite_color_nearest): Put
parentheses around + in a shift to remove a compiler warning.
(pixops_process): Likewise.
Patch from Ross Golder <rossigee@bigfoot.com> to create an RPM
specfile:
* configure.in: Added gdk-pixbuf.spec to AC_OUTPUT.
* Makefile.am (EXTRA_DIST): Added gdk-pixbuf.spec.in
Federico Mena Quintero [Sat, 22 Jan 2000 21:18:17 +0000 (21:18 +0000)]
Removed the x_set and y_set arguments. Now they are always on and start
2000-01-22 Federico Mena Quintero <federico@helixcode.com>
* gdk-pixbuf/gnome-canvas-pixbuf.c (PixbufPrivate): Removed the
x_set and y_set arguments. Now they are always on and start with
defaults of 0.0 in units.
(gnome_canvas_pixbuf_class_init): Likewise.
(gnome_canvas_pixbuf_set_arg): Likewise.
(gnome_canvas_pixbuf_get_arg): Likewise.
(compute_viewport_affine): Likewise; always use the priv->x and
priv->y fields.
* doc/tmpl/gnome-canvas-pixbuf.sgml: Modified to reflect the
removal of the x_set/y_set arguments.
Federico Mena Quintero [Fri, 21 Jan 2000 22:54:44 +0000 (22:54 +0000)]
Return the same pixbuf as the input parameter.
2000-01-21 Federico Mena Quintero <federico@helixcode.com>
* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_ref): Return the same pixbuf
as the input parameter.
* gdk-pixbuf/gdk-pixbuf-animation.c (gdk_pixbuf_animation_ref):
Return the same animation as the input parameter.
Owen Taylor [Fri, 21 Jan 2000 21:57:14 +0000 (21:57 +0000)]
.cvsignore additions
Owen Taylor [Fri, 21 Jan 2000 21:53:36 +0000 (21:53 +0000)]
Make the @detail argument for the GtkStyleClass vtable const.
Fri Jan 21 16:29:28 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.[ch] docs/Changes-1.4.txt: Make the @detail argument
for the GtkStyleClass vtable const.
* gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc
take a const string argument like GtkTranslateFunc. This will
require changes in use code.
Owen Taylor [Fri, 21 Jan 2000 21:21:02 +0000 (21:21 +0000)]
Make GtkPrintFunc take a const string argument like GtkTranslateFunc. This
Fri Jan 21 16:16:29 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc
take a const string argument like GtkTranslateFunc. This will
require changes in use code.
Damon Chaplin [Wed, 19 Jan 2000 20:14:49 +0000 (20:14 +0000)]
Started.
* gtk/tmpl/gtkscrollbar.sgml: Started.
Tor Lillqvist [Tue, 18 Jan 2000 22:03:59 +0000 (22:03 +0000)]
The correct semantics (to mimic the X11 backend, which just calls
2000-01-19 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkwindow-win32.c (gdk_window_clear_area): The correct
semantics (to mimic the X11 backend, which just calls XClearArea)
is to check for zero width (and height), and in that case use the
window's width minus x (height minus y). This fixes for instance
some redraw problems with gtkclist, which were easily noticeable
in the gtk file selection widget.
(gdk_window_new): Don't set WS_EX_TOPMOST for dialog
windows.
Elliot Lee [Mon, 17 Jan 2000 20:25:16 +0000 (20:25 +0000)]
Don't link against libgnomecanvaspixbuf.la
2000-01-16 Elliot Lee <sopwith@redhat.com>
* gdk-pixbuf/Makefile.am: Don't link against libgnomecanvaspixbuf.la
Elliot Lee [Mon, 17 Jan 2000 20:15:05 +0000 (20:15 +0000)]
Shut up Federico.
Shut up Federico.
Elliot Lee [Mon, 17 Jan 2000 18:35:26 +0000 (18:35 +0000)]
and again, with feeling
Elliot Lee [Mon, 17 Jan 2000 18:29:29 +0000 (18:29 +0000)]
Don't link libgdk_pixbuf against libgnomecanvaspixbuf
Don't link libgdk_pixbuf against libgnomecanvaspixbuf
Federico Mena Quintero [Mon, 17 Jan 2000 01:48:21 +0000 (01:48 +0000)]
Removed the broken --enable-canvas-pixbuf option. Added the stuff
2000-01-16 Federico Mena Quintero <federico@helixcode.com>
* configure.in: Removed the broken --enable-canvas-pixbuf option.
Added the stuff necessary to substitute the variables in
gnomecanvaspixbufConf.sh.in.
* gnomecanvaspixbufConf.sh.in: New gnome-config handler for the
tiny gnomecanvaspixbuf library.
* Makefile.am: Build gnomecanvaspixbufConf.sh.
* gdk-pixbuf/Makefile.am: Create a libgnomecanvaspixbuf and only
build it if gdk-pixbuf is being built outside of gnome-libs.
* doc/gdk-pixbuf-sections.txt: Added gdk_pixbuf_render_pixmap_and_mask().
* gdk-pixbuf/gdk-pixbuf-render.c
(gdk_pixbuf_render_pixmap_and_mask): Renamed from
gdk_pixbuf_render_pixmap(). Do not create the mask if it is not
needed, and do not use a clipping mask when rendering the pixmap.
Tweaked documentation a little.
* HACKING: New file with hacking policies for the gdk-pixbuf
module.
* doc/Makefile.am (tmpl_sources): Added missing backslash.
* doc/Makefile.am: Use gnomecanvaspixbuf in gnome-config when
scanning for docstrings.
* gdk-pixbuf/gdk-pixbuf-util.c (gdk_pixbuf_copy_area): Made sanity
checks more stringent. Removed "gint" abominations. Made
documentation consistent with the rest of the functions.
* doc/gdk-pixbuf-sections.txt: Added gdk_pixbuf_copy_area() to the
utilities section.
Federico Mena Quintero [Sat, 15 Jan 2000 23:50:31 +0000 (23:50 +0000)]
New file with hacking policies for the gdk-pixbuf module.
2000-01-15 Federico Mena Quintero <federico@helixcode.com>
* HACKING: New file with hacking policies for the gdk-pixbuf
module.
Tor Lillqvist [Sat, 15 Jan 2000 16:04:54 +0000 (16:04 +0000)]
configure.in gdk/Makefile.am gdk/x11/Makefile.am Small fixes, thanks to
2000-01-13 Tor Lillqvist <tml@iki.fi>
* configure.in
* gdk/Makefile.am
* gdk/x11/Makefile.am
* gdk/win32/Makefile.am: Small fixes, thanks to Peter Wainwright
(bug #5177).
* gdk/win32/gdkcc-win32.c: Reintroduce, to be thrown
out later.
Jonathan Blandford [Fri, 14 Jan 2000 20:59:18 +0000 (20:59 +0000)]
new function to let you create a gdk_pixmap from a gdk_pixbuf.
2000-01-14 Jonathan Blandford <jrb@redhat.com>
* gdk-pixbuf/gdk-pixbuf-render.c (gdk_pixbuf_render_pixmap): new
function to let you create a gdk_pixmap from a gdk_pixbuf.
Cody Russell [Thu, 13 Jan 2000 07:24:49 +0000 (07:24 +0000)]
Added gdk_pixbuf_copy_area() to gdk-pixbuf-utils.c and gdk-pixbuf.h.
Removed some unused variable warnings in gdk-pixbuf-drawable.c.
Jacob Berkman [Wed, 12 Jan 2000 02:47:41 +0000 (02:47 +0000)]
add gdk-pixbuf.m4 to EXTRA_DIST
2000-01-11 Jacob Berkman <jacob@helixcode.com>
* Makefile.am (EXTRA_DIST): add gdk-pixbuf.m4 to EXTRA_DIST
Vladimir Vuksan [Tue, 11 Jan 2000 22:07:32 +0000 (22:07 +0000)]
Changes
Jacob Berkman [Tue, 11 Jan 2000 17:31:17 +0000 (17:31 +0000)]
added to
000-01-11 Jacob Berkman <jacob@helixcode.com>
* gdk-pixbuf/pixops/Makefile.am (INCLUDES): added
to
Elliot Lee [Mon, 10 Jan 2000 21:28:03 +0000 (21:28 +0000)]
Build a libcanvas_pixbuf.
* configure.in, gdk-pixbuf/Makefile.am: Build a libcanvas_pixbuf.
Elliot Lee [Mon, 10 Jan 2000 19:17:42 +0000 (19:17 +0000)]
No more libart/gdk-pixbuf as part of gnome-libs
* No more libart/gdk-pixbuf as part of gnome-libs
* Everything: Install header files & *Conf.sh in new per-interface-version locations.
Include interface version in library names.
Tor Lillqvist [Sun, 9 Jan 2000 18:57:20 +0000 (18:57 +0000)]
Ignore WM_MOVE for iconified or invisible windows. This fixes various
2000-01-09 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Ignore
WM_MOVE for iconified or invisible windows. This fixes various
problems when minimising windows. Thanks to Bernd Herd.
Damon Chaplin [Sat, 8 Jan 2000 21:43:42 +0000 (21:43 +0000)]
update from Paul Schifferer <isengard@geocities.com>
2000-01-08 Damon Chaplin <damon@karuna.freeserve.co.uk>
* gtk/tmpl/gtkclist.sgml: update from Paul Schifferer
<isengard@geocities.com>
Owen Taylor [Fri, 7 Jan 2000 19:48:37 +0000 (19:48 +0000)]
Fixed src_channels/dest_channels confusion. (Again caught by Tomas Ogren's
2000-01-05 Owen Taylor <otaylor@redhat.com>
* gdk-pixbuf/pixops/pixops.c: Fixed src_channels/dest_channels
confusion. (Again caught by Tomas Ogren's Purify)
Jonathan Blandford [Fri, 7 Jan 2000 19:18:54 +0000 (19:18 +0000)]
comment out debugging printing. remove memory_leak
2000-01-07 Jonathan Blandford <jrb@redhat.com>
* gdk-pixbuf/gdk-pixbuf-xform.c (gdk_pixbuf_rotate): comment out
debugging printing.
* gdk-pixbuf/io-gif.c (gif_get_lzw): remove memory_leak
Jonathan Blandford [Fri, 7 Jan 2000 18:29:13 +0000 (18:29 +0000)]
Added progressive animation loading. Added progressive animation loading.
2000-01-07 Jonathan Blandford <jrb@redhat.com>
* gdk-pixbuf/gdk-pixbuf-io.c: Added progressive animation loading.
* gdk-pixbuf/gdk-pixbuf-io.h: Added progressive animation loading.
* gdk-pixbuf/gdk-pixbuf-loader.c: Added progressive animation
loading.
* gdk-pixbuf/gdk-pixbuf-loader.h: Added progressive animation
loading.
* gdk-pixbuf/io-gif.c (image_load_increment): I think the
ref-counting mess is finally fixed. Added progressive animation
loading.
I think progressive animation loading all works now. It's all
documented too, if anyone wants to play with it.
Jonathan Blandford [Fri, 7 Jan 2000 16:51:10 +0000 (16:51 +0000)]
much longer long description added.
2000-01-07 Jonathan Blandford <jrb@redhat.com>
* doc/tmpl/gdk-pixbuf-loader.sgml: much longer long description
added.
Owen Taylor [Fri, 7 Jan 2000 15:24:00 +0000 (15:24 +0000)]
Fix computation of end of run indices.
2000-01-05 Owen Taylor <otaylor@redhat.com>
* gdk-pixbuf/pixops/pixops.c (pixops_process): Fix computation of end of run indices.
* gdk-pixbuf/pixops/pixops.c: Fix double increments when dest_channels == 4.
(Pointed out by Tomas Ogren)
Mark Crichton [Thu, 6 Jan 2000 20:19:30 +0000 (20:19 +0000)]
Fixed bug sent directly to me. Basically, we weren't checking a failure
Fixed bug sent directly to me. Basically, we weren't checking a failure case
from load_module, and returning junk to the application. Bad.
See ChangeLog for more info.
Elliot Lee [Thu, 6 Jan 2000 02:53:13 +0000 (02:53 +0000)]
Link with -lm (to get 'ceil' function)
* gdk-pixbuf/pixops/Makefile.am: Link with -lm (to get 'ceil' function)
Owen Taylor [Thu, 6 Jan 2000 01:08:10 +0000 (01:08 +0000)]
Added scaling functions into gtk-doc framework.
2000-01-05 Owen Taylor <otaylor@redhat.com>
* doc/Makefile.am doc/gdk-pixbuf-sections.txt
doc/gdk-pixbuf.sgml doc/tmpl/scaling.sgml:
Added scaling functions into gtk-doc framework.
* gdk-pixbuf/gdk-pixbuf-scale.c: Documentation fixes.
* gdk-pixbuf/testpixbuf-scale.c (expose_cb): Simplify a bit.
* gdk-pixbuf/pixops/pixops.c (pixops_composite_color): Return
immediately if scale_x or scale_y is 0.
Owen Taylor [Wed, 5 Jan 2000 23:57:02 +0000 (23:57 +0000)]
quick fix for initializing arrays in benchmark.
2000-01-05 Owen Taylor <otaylor@redhat.com>
* gdk-pixbuf/pixops/timescale.c: quick fix for initializing
arrays in benchmark.
Jonathan Blandford [Wed, 5 Jan 2000 23:06:13 +0000 (23:06 +0000)]
Change the order of the update func to make it more compatible with the
2000-01-05 Jonathan Blandford <jrb@redhat.com>
* gdk-pixbuf/gdk-pixbuf-io.h: Change the order of the update func
to make it more compatible with the rest of GTK. Added animation
framework for progressive loading.
* gdk-pixbuf/io-bmp.c (image_begin_load): Modified to handle new
system.
* gdk-pixbuf/io-ico.c (image_begin_load): ditto
* gdk-pixbuf/io-png.c (image_begin_load): ditto
* gdk-pixbuf/io-ras.c (image_begin_load): ditto
* gdk-pixbuf/io-jpeg.c (image_begin_load): ditto
* gdk-pixbuf/io-pnm.c (image_begin_load): ditto
* gdk-pixbuf/io-tiff.c (image_begin_load): ditto
* gdk-pixbuf/io-gif.c (image_begin_load): ditto
Owen Taylor [Wed, 5 Jan 2000 22:49:43 +0000 (22:49 +0000)]
Added a README with a TODO and some explainations of the algorithms.
2000-01-05 Owen Taylor <otaylor@redhat.com>
* gdk-pixbuf/pixops/README: Added a README with a TODO
and some explainations of the algorithms.
* gdk-pixbuf/testpixbuf-scale.c: Set a background pixmap of None
to reduce flashing when resizing.
Owen Taylor [Wed, 5 Jan 2000 21:33:58 +0000 (21:33 +0000)]
Directory full of pixel data scaling code that will eventually migrate
2000-01-05 Owen Taylor <otaylor@redhat.com>
* gdk-pixbuf/pixops/: Directory full of pixel data scaling
code that will eventually migrate into libart.
* configure.in acconfig.h: Add checks for MMX compiler support
* gdk-pixbuf/gdk-pixbuf.h gdk-pixbuf/gdk-pixbuf-scale.c:
Nice wrapper routines for the code in pixops that operate
on pixbufs instead of raw data.
* gdk-pixbuf/testpixbuf-scale: Test program for scaling
routines.
Jonathan Blandford [Wed, 5 Jan 2000 19:46:15 +0000 (19:46 +0000)]
Documentation changes.
2000-01-05 Jonathan Blandford <jrb@redhat.com>
* doc/tmpl/animation.sgml: Documentation changes.
Tor Lillqvist [Wed, 5 Jan 2000 17:05:30 +0000 (17:05 +0000)]
Fix copy&paste error: Call the backend's draw_lines method, not
2000-01-05 Tor Lillqvist <tml@iki.fi>
* gdk/gdkdraw.c (gdk_draw_lines): Fix copy&paste error: Call the
backend's draw_lines method, not draw_points.
Owen Taylor [Wed, 5 Jan 2000 15:04:23 +0000 (15:04 +0000)]
Missing </listitem>, remove extra <para> dos2unix missing </para>
Wed Jan 5 10:23:41 2000 Owen Taylor <otaylor@redhat.com>
* gtk/tmpl/gtkprogress.sgml: Missing </listitem>, remove extra <para>
* gtk/tmpl/gtkobject.sgml: dos2unix
* gtk/tmpl/gtkcurve.sgml: missing </para>
* gtk/tmpl/gtkarg.sgml: dos2unix, missing </para>
* gtk/tmpl/gtkcolorsel.sgml: Missing </listitem>'s
* gtk/tmpl/gtksignal.sgml (signal): dos2unix, missing </para>'s
* gtk/tmpl/gtkmarshal.sgml: Missing </refsect2>
Jesus Bravo Alvarez [Tue, 4 Jan 2000 01:07:53 +0000 (01:07 +0000)]
Updated Galician translation
Kjartan Maraas [Mon, 3 Jan 2000 23:55:33 +0000 (23:55 +0000)]
A little script that lets people update the .pot file without makefiles
2000-01-04 Kjartan Maraas <kmaraas@online.no>
* update.sh: A little script that lets people
update the .pot file without makefiles etc.
Tor Lillqvist [Sun, 2 Jan 2000 15:53:48 +0000 (15:53 +0000)]
Add credits for finding the bug fixed a couple of days ago.
Tor Lillqvist [Sun, 2 Jan 2000 11:03:12 +0000 (11:03 +0000)]
Clean up some more leftovers from before Owen's reorganization: Don't have
2000-01-02 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c: Clean up some more leftovers from
before Owen's reorganization: Don't have queued_events and
queued_tail statics in this file, but use gdk_queued_events and
gdk_queued_tail. This makes exposure event compression work again.
(gdk_WindowProc): Comment out a posting of gdk_ping_msg, doesn't
seem to be needed?
Federico Mena Quintero [Sun, 2 Jan 2000 03:59:22 +0000 (03:59 +0000)]
Added reference counting to animations. A web browser may want to share a
2000-01-01 Federico Mena Quintero <federico@helixcode.com>
* gdk-pixbuf/gdk-pixbuf.h (GdkPixbufAnimation): Added reference
counting to animations. A web browser may want to share a single
copy of an animated GIF if it appears multiple times in a web
page, for example.
* gdk-pixbuf/gdk-pixbuf-animation.c: New file. Moved the
animation functions here.
(gdk_pixbuf_animation_new_from_file): Prettified. Return a NULL
animation if the loader does not support multiframe loading and
the single-frame load returned NULL. Check that the filename is
not NULL. Updated inline documentation.
(gdk_pixbuf_animation_ref): New function.
(gdk_pixbuf_animation_unref): New function.
Removed gdk_pixbuf_animation_destroy() in favor of reference
counting.
* gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_file):
Prettified. Made ref_count assertion more paranoid. Check that
the filename is not NULL.
(gdk_pixbuf_get_module): Use guchar * and guint for buffer and
size, respectively.
(gdk_pixbuf_new_from_xpm_data): Changed the "data" argument to
const char **.
* gdk-pixbuf/io-gif.c (image_load_animation): Create the animation
with a reference count of 1.
* gdk-pixbuf/Makefile.am (libgdk_pixbuf_la_SOURCES): Added
gdk-pixbuf-animation.c.
* doc/tmpl/animation.sgml: Populated. It is still missing a
description of the overlay modes.
* doc/gdk-pixbuf-sections.txt: Added the animation section. Moved
the canvas item section to the end, as it will be moved later to
gnome-libs.
* doc/gdk-pixbuf.sgml: Added the animation section.
* doc/Makefile.am (tmpl_sources): Added tmpl/animation.sgml.
Tor Lillqvist [Thu, 30 Dec 1999 00:07:48 +0000 (00:07 +0000)]
gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c
1999-12-30 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkevents-win32.c
* gdk/win32/gdkinput-win32.c
* gdk/win32/gdkwindow-win32.c: Remove the superfluous
extension_events field in the GdkWindowWin32Data struct. Use only
the extension_events field in GdkWindowPrivate. Previously one was
set, and the other one tested, which broke tablet functionality.
Tor Lillqvist [Wed, 29 Dec 1999 23:08:52 +0000 (23:08 +0000)]
If we don't HAVE_XCONVERTCASE we must #include gdkkeysyms.h to get the
1999-12-30 Tor Lillqvist <tml@iki.fi>
* gdk/gdk.c: If we don't HAVE_XCONVERTCASE we must #include
gdkkeysyms.h to get the GDK_* keysym constants that are needed by
gdk_keyval_convert_case(). Otherwise, gdk_keyval_convert_case()
doesn't do anything.
* gdk/gdk.def: Add gdk_xid_table_insert.